/**
 * Copyright 2014-2016 com.lycheeframework.mapping
 * All rights reserved.
 * 
 * @project
 * @author pro
 * @version 1.0
 * @date 2016-08-02
 */
package com.eyaomall.wxmanage.model.po;

import java.math.BigDecimal;

import com.lycheeframework.core.model.IPO;

/**
 * 
 * @author pro
 *
 */
public class OrderGoods implements IPO {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 *  主键 ID
	 */
	private Integer id;

	/**
	 *  订单ID
  M_ORDER.ID
	 */
	private Integer orderId;

	/**
	 *  产品ID
  M_GOODS.ID
	 */
	private Integer goodsId;

	/**
	 *  产品名，冗余字段
	 */
	private String goodsName;

	/**
	 *  产品logo 冗余字段
	 */
	private String imgUrl;

	/**
	 *  数量
	 */
	private Integer num;

	/**
	 *  单价
	 */
	private BigDecimal amount;


	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getOrderId() {
		return orderId;
	}
	
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getGoodsId() {
		return goodsId;
	}
	
	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public String getGoodsName() {
		return goodsName;
	}
	
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getImgUrl() {
		return imgUrl;
	}
	
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public Integer getNum() {
		return num;
	}
	
	public void setNum(Integer num) {
		this.num = num;
	}

	public BigDecimal getAmount() {
		return amount;
	}
	
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
}